home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 2 / Amiga Tools 2.iso / tools / rushdemo2 / catalogs / readme < prev    next >
Text File  |  1995-03-09  |  1KB  |  44 lines

  1.  
  2.                How to write a language catalog for Rush
  3.  
  4.                              Version 37.1
  5.  
  6.                            August 20, 1993
  7.  
  8.  
  9. 1. Rename "rush_local.ct" to your language, for example "español.ct".
  10.  
  11. 2. Change the X in the "## language X" line in the .ct to your language
  12.    name, for example "## language español".
  13.  
  14. 3. Create a directory in the Catalogs directory off of Rush's directory,
  15.    with the name for your language.  For example if Rush in located
  16.    in "work:rush", the directory would be "work:rush/Catalogs/español".
  17.  
  18. 4. For each block like the following add text for your language.  In
  19.    this case you would add the word for "sort", with an underscore
  20.    before the keyboard short cut key.  Make sure for each window
  21.    there are not duplicates for keyboard short cuts.  You can tell
  22.    which strings to with which windows by the sections they are in
  23.    in the .ct file.
  24.  
  25.     MSG_SORT_GAD
  26.  
  27.     ; S_ort;
  28.     ;
  29.  
  30.    Menuitems look like the following, the AmigaKey is the first
  31.    character with a "\0" after it.
  32.  
  33.     MSG_SETTINGS_DOUBLE_CLICK
  34.  
  35.     ; D\0Double Click...;
  36.     ;
  37.  
  38. 5. Once all the strings are translated run CatComp to produce a catalog
  39.    file.  The system can then be put in this language and Rush
  40.    should use the catalog.  Example for español would be:
  41.  
  42.    catcomp rush_locale.cd español.ct catalog=español/rush.catalog
  43.  
  44.